<template>
  <!-- 导航区域 -->
  <my-nav></my-nav>
  <!-- 视图区域 -->
  <router-view/>
</template>

<script>
// 引入导航组件
import MyNav from './components/MyNav.vue'
export default{
  name: 'App',
  components: {
    MyNav
  }
}
</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
</style>
